import json
stock_info = {'code':'600000','name':'浦发银行','price':11.54}
json_str = json.dumps(stock_info, ensure_ascii=False)
print(type(json_str))
print(json_str)

converted_dic = json.loads(json_str)
print(type(converted_dic))
print(converted_dic)